package com.itcast.health.pojo;

import java.io.Serializable;

public class Food implements Serializable {
    private Integer id;//主键
    private String name;//食物名称
    private String size;//食物尺寸
    private Integer minAge;//最小年龄
    private Integer maxAge;//最大年龄
    private String type;//种类
    private Double carbon_water;//碳水化合物
    private Double protein;//蛋白质含量
    private Double fat;//脂肪量
    private String gxy;//高血压
    private String tnb;//糖尿病
    private String gxb;//冠心病
    private String ncz;//脑卒中
    private String xnxgb;//心脑血管病
    private String gxz;//高血脂
    private String fp;//肥胖
    private String tf;//通风
    private String remark;//说明
    private String age;//适用年龄

    public Food() {
    }

    public Food(String name, String size, Integer minAge, Integer maxAge, String type, Double carbon_water, Double protein, Double fat, String gxy, String tnb, String gxb, String ncz, String xnxgb, String gxz, String fp, String tf, String remark) {
        this.name = name;
        this.size = size;
        this.minAge = minAge;
        this.maxAge = maxAge;
        this.type = type;
        this.carbon_water = carbon_water;
        this.protein = protein;
        this.fat = fat;
        this.gxy = gxy;
        this.tnb = tnb;
        this.gxb = gxb;
        this.ncz = ncz;
        this.xnxgb = xnxgb;
        this.gxz = gxz;
        this.fp = fp;
        this.tf = tf;
        this.remark = remark;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public Integer getMinAge() {
        return minAge;
    }

    public void setMinAge(Integer minAge) {
        this.minAge = minAge;
    }

    public Integer getMaxAge() {
        return maxAge;
    }

    public void setMaxAge(Integer maxAge) {
        this.maxAge = maxAge;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Double getCarbon_water() {
        return carbon_water;
    }

    public void setCarbon_water(Double carbon_water) {
        this.carbon_water = carbon_water;
    }

    public Double getProtein() {
        return protein;
    }

    public void setProtein(Double protein) {
        this.protein = protein;
    }

    public Double getFat() {
        return fat;
    }

    public void setFat(Double fat) {
        this.fat = fat;
    }

    public String getGxy() {
        return gxy;
    }

    public void setGxy(String gxy) {
        this.gxy = gxy;
    }

    public String getTnb() {
        return tnb;
    }

    public void setTnb(String tnb) {
        this.tnb = tnb;
    }

    public String getGxb() {
        return gxb;
    }

    public void setGxb(String gxb) {
        this.gxb = gxb;
    }

    public String getNcz() {
        return ncz;
    }

    public void setNcz(String ncz) {
        this.ncz = ncz;
    }

    public String getXnxgb() {
        return xnxgb;
    }

    public void setXnxgb(String xnxgb) {
        this.xnxgb = xnxgb;
    }

    public String getGxz() {
        return gxz;
    }

    public void setGxz(String gxz) {
        this.gxz = gxz;
    }

    public String getFp() {
        return fp;
    }

    public void setFp(String fp) {
        this.fp = fp;
    }

    public String getTf() {
        return tf;
    }

    public void setTf(String tf) {
        this.tf = tf;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }
}
